package com.gengzp.common.model.role.req;

import com.gengzp.common.model.generic.req.SearchByIdReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

/**
 * @ClassName EditSysRoleReq
 * @Description 添加系统角色请求参数
 * @Author gengzp
 * @Date 2025/9/8 20:06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "编辑系统角色请求参数")
public class EditSysRoleReq extends SearchByIdReq {

    @Serial
    private static final long serialVersionUID = -4528583764407466348L;

    /**
     * 角色名称
     */
    @NotBlank(message = "角色名称不能为空")
    @ApiModelProperty(value = "角色名称", required = true)
    private String roleName;

    /**
     * 角色描述
     */
    @ApiModelProperty(value = "角色描述")
    private String roleDescription;

}
